from fastapi import APIRouter
from app.core.dependency import DependPermisson
from .settings  import mini_settings_router
from .topic import mini_topic_router
from .alert import mini_alert_router
from .auditlog import mini_log_router
from .layers import mini_layers_router

mini_router = APIRouter()
mini_router.include_router(mini_settings_router, prefix="/settings", tags=["后端-小程序配置"], dependencies=[DependPermisson])
mini_router.include_router(mini_alert_router, prefix="/alert", tags=["后端-弹屏配置"], dependencies=[DependPermisson])
mini_router.include_router(mini_topic_router, prefix="/topic", tags=["后端-专题页配置"], dependencies=[DependPermisson])
mini_router.include_router(mini_layers_router, prefix="/layers", tags=["后端-圈层管理"], dependencies=[DependPermisson])
mini_router.include_router(mini_log_router, prefix="/auditlog", tags=["后端-小程序日志"], dependencies=[DependPermisson])